# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年10月14日
"""
import pandas as pd

path = '../数据文件/课件030-031/数据.xlsx'

data = pd.read_excel(path)

dic = {'男':'先生', '女':'女士'}
# data['称呼'] = data['性别'].map(dic)
data['性别'] = data['性别'].map(dic)


print(data)